package cn.car.service;

import cn.car.dao.ConfigInfoDAO;
import cn.car.dao.LogInfoDAO;
import cn.car.dao.ModifyParkInfoDAO;
import cn.car.dao.ParkInfoDAO;
import cn.car.servlet.ServiceLocator;

public class GlobalService {

	public static ParkInfoDAO getparkInfoDAO() {
		return (ParkInfoDAO)ServiceLocator.getBean("parkInfoDAO");
	}
	
	public static ParkInfoDAO getparkInfoTempDAO() {
		return (ParkInfoDAO)ServiceLocator.getBean("parkInfoTempDAO");
	}
	
	public static LogInfoDAO getLogInfoDAO() {
		return (LogInfoDAO)ServiceLocator.getBean("logDao");
	}
	public static ConfigInfoDAO getConfigInfoDAO() {
		return (ConfigInfoDAO)ServiceLocator.getBean("configDao");
	}
	public static ModifyParkInfoDAO getModifyParkInfoDAO() {
		return (ModifyParkInfoDAO)ServiceLocator.getBean("modifyParkInfoDao");
	}
}
